home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / bbs / pprd199.zip / LPTCOM.ZIP / LPTCOM.DOC next >
Text File  |  1994-12-29  |  1KB  |  37 lines

  1. I used to distribute a TSR called LPTCOM which diverted LPT output to
  2. COM and honoured the XON/XOFF protocol. Unfortunately this had two
  3. drawbacks:
  4.  
  5. 1. It diverted all LPTx output, so it made no difference if you printed
  6. to LPT1 or LPT2, it all went to COMx. This made it impossible to have
  7. more than one printer if one was a serial printer.
  8.  
  9. 2. Even if the above problem was fixed, LPTCOM blocked when XOFF was in
  10. effect so no other work could be done while the printer buffer was full.
  11.  
  12. I have found a better alternative; it's called TSRCOMM.  When installed
  13. it drives the COM line in interrupt mode. It's used like this:
  14.  
  15.     rem Install COM driver
  16.     tsrcomm
  17.     rem Set COM1 parameters
  18.     mode com1:9600,n,8,1,p
  19.     rem Bump speed to 19200 (stupid DOS mode command won't do it)
  20.     toadmod1 1 1
  21.     rem Divert LPT1 to COM1
  22.     mode com1=lpt1
  23.     rem Now run our PPRD server
  24.     pprd
  25.  
  26. I've also provided TOADMOD1, which is used to set a non-standard speed
  27. like 19200. Remember that at 19200 baud, a character is expected by the
  28. printer every 500 us or so which leaves little time for other work so
  29. when you print a large file on the serial printer, other printers may
  30. not get much service.
  31.  
  32. As far as I know, both programs are free. I got them from the Simtel20
  33. PC archive.
  34.  
  35. Ken Yap
  36. December 1994
  37.